<template>
  <div class="user-info">
    <div class="avatar">
      <img src="~assets/img/profile/avatar.svg" alt />
    </div>
    <div class="info">
      <p>登录/注册</p>
      <p class="phone">
        <img src="~assets/img/profile/phone.svg" alt />暂无绑定手机号
      </p>
    </div>
    <div class="more">
      <img src="~assets/img/common/arrow-left.svg" alt />
    </div>
  </div>
</template>

<script>
export default {
  name: "userInfo",
  data() {
    return {};
  }
};
</script>

<style lang="less" scoped>
.user-info {
  background-color: var(--color-tint);
  height: 85px;
  padding: 10px;
  display: flex;
  color: #fff;
  align-items: center;
  .avatar {
    width: 70px;
    height: 70px;
    img {
      width: 100%;
    }
  }
  .info {
    flex: 1;
    padding-left: 15px;
    .phone {
      font-size: 14px;
      img {
        width: 20px;
        height: 30px;
        vertical-align: middle;
      }
    }
  }
  .more {
    width: 20px;
    img {
      width: 100%;
    }
  }
}
</style>